package com.example.mam.dto;


public class Node {

    private String label;
    private Boolean isMam;

    public Node() {
    }

    public Node(String label, Boolean isMam) {
        this.label = label;
        this.isMam = isMam;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Boolean getMam() {
        return isMam;
    }

    public void setMam(Boolean mam) {
        isMam = mam;
    }

    @Override
    public String toString() {
        return "Node{" +
                "label='" + label + '\'' +
                ", isMam=" + isMam +
                '}';
    }
}
